Previous Book Contents Book Index Next

Inside Macintosh: Programming With MRJToolkit /
Chapter 2 - MRJToolkit Reference / The MRJApplicationUtils Class
Methods /


registerOpenDocumentHandler

Registers the handler method to be called when the application receives a request to open a document.

public static final void registerOpenDocumentHandler (
                     MRJOpenDocumentHandler handler);
handler
The name of the method that handles the file drop event.
DISCUSSION
You must have defined the handler before calling this method.

SEE ALSO
The handleOpenFile method (page 48).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
12 NOV 1997